package com.gieee.ywj.of.anno;

import com.gieee.ywj.of.rest.registrar.RestClientsRegistrar;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Import(RestClientsRegistrar.class)
public @interface EnableFeignClientByMe {

    /**
     * 制定 RestClient接口
     * @return
     */
    Class<?>[] clients() default {};

}
